#ifndef ADMINPAGE_H
#define ADMINPAGE_H

#include "header.h"
#include "database.h"
#include "admin_window.h" // 添加admin_window.h头文件

class AdminPage : public QWidget
{
    Q_OBJECT

public:
    explicit AdminPage(database &db, QWidget *parent = nullptr);
    ~AdminPage();

private:
    database &db;
    AdminWindow *adminWindow; // 使用AdminWindow类替代占位符标签
};

#endif // ADMINPAGE_H 